package file

import "gorm.io/gorm"

func SelectHash(hash string) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("hash = ?", hash)
	}
}
